package com.csi.domain;

import java.util.Date;
import java.util.List;

/**
 * 评论
 */
public class Comment {
    //评论Id
    private int commentId;
    //用户Id
    private int userId ;
    //房间类型Id
    private int typeId;
    //评论内容
    private String commentContent;
    //评论时间
    private Date commentDate;
    private int isAnonymity;//是否匿名

    //1、差评，2、中评，3、好评
    private int commentGrade;//等级评价

    private UserInfo userInfo;

    private RoomType roomType;

    private List<Replay> replays;



    public Comment() {
    }

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public RoomType getRoomType() {
        return roomType;
    }

    public void setRoomType(RoomType roomType) {
        this.roomType = roomType;
    }

    public List<Replay> getReplays() {
        return replays;
    }

    public void setReplays(List<Replay> replays) {
        this.replays = replays;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Date getCommentDate() {
        return commentDate;
    }

    public void setCommentDate(Date commentDate) {
        this.commentDate = commentDate;
    }

    public int getIsAnonymity() {
        return isAnonymity;
    }

    public void setIsAnonymity(int isAnonymity) {
        this.isAnonymity = isAnonymity;
    }

    public int getCommentGrade() {
        return commentGrade;
    }

    public void setCommentGrade(int commentGrade) {
        this.commentGrade = commentGrade;
    }


}
